ImageGear v26.3 - Updated
ImageGear.Core Assembly / ImageGear.Formats.XMP Namespace / ImGearXMPArray<T> Class / Insert Method
The zero-based index at which item should be inserted.
The object to insert.




In This Topic
    Insert Method (ImGearXMPArray<T>)
    In This Topic
    Inserts an element into the ImGearXMPArray<T> at the specified index.
    Syntax
    'Declaration
     
    Public Sub Insert( _
       ByVal index As Integer, _
       ByVal item As T _
    ) 
    'Usage
     
    Dim instance As ImGearXMPArray(Of T)
    Dim index As Integer
    Dim item As T
     
    instance.Insert(index, item)
    public void Insert( 
       int index,
       T item
    )
    public: void Insert( 
       int index,
       T* item
    ) 
    public:
    void Insert( 
       int index,
       T^ item
    ) 

    Parameters

    index
    The zero-based index at which item should be inserted.
    item
    The object to insert.
    Exceptions
    ExceptionDescription

    index is less than 0.

    -or-

    index is greater than Count.

    See Also